<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
登陆成功<br/>
	<div align="center">
		<table>
			<tr>
				<td>姓名</td>
				<td>密码</td>
				<td>性别</td>
				<td>编号</td>
				<td>地址</td>
			</tr>
			<c:forEach items="${requestScope.users}" var="s" varStatus="status">
				<tr>
					<td>${s.userName }</td>
					<td>${s.passWord }</td>
					<td>${s.sex eq 49?"男":"女" }</td>
					<td>${status.count }</td>
					<td>${s.address }</td>
					<td><a href="${pageContext.request.contextPath}/loginAction/delete/${s.id}" >删除</a>
						<a href="${pageContext.request.contextPath}/loginAction/edit/${s.id}" >修改</a>
					</td>
				</tr>
			</c:forEach>
		</table>
	</div>
</body>
</html>